package cn.jingzhuan.element.demo.view.model

import cn.jingzhuan.element.demo.view.BaseActivity

class ItemDescription {
    var demoClass: Class<out BaseActivity>? = null
        get
    var name: String? = null
        get
    var itemDetailDescription: String? = null
    var iconRes: Int = 0
        get


    @JvmOverloads constructor(kitDemoClass: Class<out BaseActivity>, kitName: String, iconRes: Int = 0) {
        demoClass = kitDemoClass
        name = kitName
        this.iconRes = iconRes
    }

    constructor(kitDemoClass: Class<out BaseActivity>, kitName: String,
                kitDetailDescription: String, iconRes: Int) {
        demoClass = kitDemoClass
        name = kitName
        itemDetailDescription = kitDetailDescription
        this.iconRes = iconRes
    }
}
